﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using EraNet.Core.Model.Account;

namespace EraNet.Data.Mapping.Account
{
    public class MemberAdjMap : EntityTypeConfiguration<MemberAdj> 
    {
        public MemberAdjMap()
        {
            this.ToTable("Era_MemberAdj");
            this.HasKey(a => a.Id);
            this.Property(a => a.MemberId).IsRequired();
        }
    }
}
